package com.compty.paint.manager;

import java.util.List;

import com.compty.core.hibernate.HibernateEntityDao;
import com.compty.paint.domain.CatalogType;

public class CatalogTypeManager extends HibernateEntityDao<CatalogType>{
	
	private static List<CatalogType> catalogTypeList;  //作品分类(大类)
	
	public List<CatalogType> getAll() {
		 
		 if(catalogTypeList == null){
			 List<CatalogType>  catalogTypes =  super.getAll();
			 catalogTypeList  = catalogTypes;
		 }
		 
		 return catalogTypeList;
	 }
	
}
